<div data-role="page">

  <div data-role="header" data-position="inline">
    <h1>New <%= @question.title %></h1>
    <a href="<%= url_for :action => :index %>" class="ui-btn-left" data-icon="back" data-direction="reverse">
      Cancel
    </a>
  </div>

  <div data-role="content">
    <form method="POST" action="<%= url_for :action => :create %>">
      <input type="hidden" name="id" value="<%= @question.object %>"/>

      
          <div data-role="fieldcontain">
            <label for="question[id]" class="fieldLabel">Id</label>
            <input type="text" id="question[id]" name="question[id]" <%= placeholder("Id") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="question[title]" class="fieldLabel">Title</label>
            <input type="text" id="question[title]" name="question[title]" <%= placeholder("Title") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="question[status]" class="fieldLabel">Status</label>
            <input type="text" id="question[status]" name="question[status]" <%= placeholder("Status") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="question[student_id]" class="fieldLabel">Student</label>
            <input type="text" id="question[student_id]" name="question[student_id]" <%= placeholder("Student") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="question[grade_id]" class="fieldLabel">Grade</label>
            <input type="text" id="question[grade_id]" name="question[grade_id]" <%= placeholder("Grade") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="question[subject_id]" class="fieldLabel">Subject</label>
            <input type="text" id="question[subject_id]" name="question[subject_id]" <%= placeholder("Subject") %> />
          </div>
      

      <input type="submit" value="Create"/>
    </form>
  </div>

</div>
